package igiant.order.facade.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotations.IdType;

import igiant.common.generator.base.BaseEntity;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 订单明细表
 *
 */
@TableName("t_order_item")
public class OrderItem extends BaseEntity {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 订单ID */
	@TableField(value = "order_id")
	private String orderId;

	/** 产品类型，普通，差价(正),差价(负) */
	@TableField(value = "product_type")
	private String productType;

	/** E店商品ID */
	@TableField(value = "eshop_pro_id")
	private String eshopProId;

	/** E店商品名称 */
	@TableField(value = "eshop_pro_name")
	private String eshopProName;

	/** 单价 */
	@TableField(value = "unit_price")
	private BigDecimal unitPrice;

	/** 交易数量 */
	private Integer quantity;

	/** 单位 */
	private String unit;

	/** 重量 */
	private Double weight;

	/** 业务单号 */
	@TableField(value = "business_no")
	private String businessNo;

	/** 图片URL1 */
	@TableField(value = "first_url")
	private String firstUrl;

	/** 图片URL2 */
	@TableField(value = "second_url")
	private String secondUrl;

	/** 成本价 */
	@TableField(value = "cost_price")
	private BigDecimal costPrice;

	/** 原价 */
	@TableField(value = "original_price")
	private BigDecimal originalPrice;

	/** 备注 */
	private String remark;


	public String getOrderId() {
		return this.orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getProductType() {
		return this.productType;
	}

	public void setProductType(String productType) {
		this.productType = productType;
	}

	public String getEshopProId() {
		return this.eshopProId;
	}

	public void setEshopProId(String eshopProId) {
		this.eshopProId = eshopProId;
	}

	public String getEshopProName() {
		return this.eshopProName;
	}

	public void setEshopProName(String eshopProName) {
		this.eshopProName = eshopProName;
	}

	public BigDecimal getUnitPrice() {
		return this.unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}

	public Integer getQuantity() {
		return this.quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Double getWeight() {
		return this.weight;
	}

	public void setWeight(Double weight) {
		this.weight = weight;
	}

	public String getBusinessNo() {
		return this.businessNo;
	}

	public void setBusinessNo(String businessNo) {
		this.businessNo = businessNo;
	}

	public String getFirstUrl() {
		return this.firstUrl;
	}

	public void setFirstUrl(String firstUrl) {
		this.firstUrl = firstUrl;
	}

	public String getSecondUrl() {
		return this.secondUrl;
	}

	public void setSecondUrl(String secondUrl) {
		this.secondUrl = secondUrl;
	}

	public BigDecimal getCostPrice() {
		return this.costPrice;
	}

	public void setCostPrice(BigDecimal costPrice) {
		this.costPrice = costPrice;
	}

	public BigDecimal getOriginalPrice() {
		return this.originalPrice;
	}

	public void setOriginalPrice(BigDecimal originalPrice) {
		this.originalPrice = originalPrice;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
